package com.aaa.tars.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import java.math.BigInteger;
import java.util.Date;
import java.util.List;

/**
 * @FileName: Guides
 * @Description:攻略表
 * @Author: 李宗盛
 * @CreateTime: 2025/9/11 16:26
 * @Version: 17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Guides {
  //攻略Id
    private Integer guideId;
    //游客(作者)Id
    private  Integer visitorId;
   //攻略标题
    private  String title;
    //目的地
    private  String destination;
    //推荐游玩天数
    private  int days;
    //人均预算
    private  String budget;
    //推荐季节
    private  String season;
    //攻略正文
    private  String content;
    //浏览量
    private int viewCount;
    //点赞数
    private  int likeCount;
 @Column(name = "status")
 private String status; // 状态：审核中、已发布、已拒绝等
    //创建时间
    private Date createTime;
    //更新时间
    private  Date updateTime;
    private  String visitorsName;

 // 添加攻略图片列表属性
 private List<guideImages> images;

}
